<template>
  <div>
    <van-tabbar route v-model="active">
      <van-tabbar-item replace  to="/" icon="home-o">首页</van-tabbar-item>
      <van-tabbar-item replace  to="/newpro" icon="comment-o">新品</van-tabbar-item>
      <van-tabbar-item replace to="/cart" icon="shopping-cart-o">购物车</van-tabbar-item>
      <van-tabbar-item replace to="/my" icon="friends-o">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
    data() {
        return {
           active:0,
        };
    },
}
</script>

<style>

</style>